<template>
  <div class="ano-design-header">
    <div class="icon-menu">
      <div class="hamburger" id="hamburger-1" :class="{'is-active': isMenuActive}" @click="toggleActive">
        <span class="line"></span>
        <span class="line"></span>
        <span class="line"></span>
      </div>
    </div>
    <div class="logo" @click="goHome">LOGO</div>
  </div>
</template>

<script>
import '@/assets/css/iconMenu/iconMenu.css'

export default {
  name: 'anoDesignHeader',
  components: {
    
  },
  props: {
    imageInfo: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  data() {
    return {
      isMenuActive: false,
   
    }
  },
  created() {
    console.log(22)
  },
  methods: {
    goHome() {
      this.$router.push({name: 'home'})
    },
    toggleActive() {
      this.isMenuActive = !this.isMenuActive;
    }
  }
}
</script>

<style lang="less" scoped>
.ano-design-header {
  display: flex;
  height: 60px;
  background-color: #fff;
  .icon-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    border-right: 1px solid #b7b7b7;
  }
  .hamburger {
    zoom: 0.7;
    .line {
      background-color: #333;
    }
  }
  .logo {
    line-height: 60px;
    font-size: 36px;
    font-weight: 700;
    color: @primary-color;
    cursor: pointer;
    user-select: none;
    padding-left: 20px;
  }
}
</style>
